'****************************************************************************'
'                                                                            '
' Copyright (C) 2010 Muhammad alaa                                           '
'                                                                            '
' This program is free software; you can redistribute it and/or modify       '
' it under the terms of the GNU General Public License as published by       '
' the Free Software Foundation; either version 2 of the License, or          '
' (at your option) any later version.                                        '
'                                                                            '
' This program is distributed in the hope that it will be useful,            '
' but WITHOUT ANY WARRANTY; without even the implied warranty of             '
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              '
' GNU General Public License for more details.                               '
'                                                                            '
' You should have received a copy of the GNU General Public License along    '
' with this program; if not, write to the Free Software Foundation, Inc.,    '
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                '
'                                                                            '
'****************************************************************************'

Namespace HResults

    ' FACILITY_STORAGE = 3
    Public NotInheritable Class Storage
        Private Sub New()
        End Sub

        Public Shared ReadOnly STG_E_INVALIDFUNCTION As HResult = &H80030001
        Public Shared ReadOnly RPC_NT_NO_MORE_ENTRIES As HResult = &HC0030001
        Public Shared ReadOnly STG_E_FILENOTFOUND As HResult = &H80030002
        Public Shared ReadOnly RPC_NT_SS_CHAR_TRANS_OPEN_FAIL As HResult = &HC0030002
        Public Shared ReadOnly STG_E_PATHNOTFOUND As HResult = &H80030003
        Public Shared ReadOnly RPC_NT_SS_CHAR_TRANS_SHORT_FILE As HResult = &HC0030003
        Public Shared ReadOnly STG_E_TOOMANYOPENFILES As HResult = &H80030004
        Public Shared ReadOnly RPC_NT_SS_IN_NULL_CONTEXT As HResult = &HC0030004
        Public Shared ReadOnly STG_E_ACCESSDENIED As HResult = &H80030005
        Public Shared ReadOnly RPC_NT_SS_CONTEXT_MISMATCH As HResult = &HC0030005
        Public Shared ReadOnly STG_E_INVALIDHANDLE As HResult = &H80030006
        Public Shared ReadOnly RPC_NT_SS_CONTEXT_DAMAGED As HResult = &HC0030006
        Public Shared ReadOnly RPC_NT_SS_HANDLES_MISMATCH As HResult = &HC0030007
        Public Shared ReadOnly STG_E_INSUFFICIENTMEMORY As HResult = &H80030008
        Public Shared ReadOnly RPC_NT_SS_CANNOT_GET_CALL_HANDLE As HResult = &HC0030008
        Public Shared ReadOnly STG_E_INVALIDPOINTER As HResult = &H80030009
        Public Shared ReadOnly RPC_NT_NULL_REF_POINTER As HResult = &HC0030009
        Public Shared ReadOnly RPC_NT_ENUM_VALUE_OUT_OF_RANGE As HResult = &HC003000A
        Public Shared ReadOnly RPC_NT_BYTE_COUNT_TOO_SMALL As HResult = &HC003000B
        Public Shared ReadOnly RPC_NT_BAD_STUB_DATA As HResult = &HC003000C
        Public Shared ReadOnly STG_E_NOMOREFILES As HResult = &H80030012
        Public Shared ReadOnly STG_E_DISKISWRITEPROTECTED As HResult = &H80030013
        Public Shared ReadOnly STG_E_SEEKERROR As HResult = &H80030019
        Public Shared ReadOnly STG_E_WRITEFAULT As HResult = &H8003001D
        Public Shared ReadOnly STG_E_READFAULT As HResult = &H8003001E
        Public Shared ReadOnly STG_E_SHAREVIOLATION As HResult = &H80030020
        Public Shared ReadOnly STG_E_LOCKVIOLATION As HResult = &H80030021
        Public Shared ReadOnly STG_E_FILEALREADYEXISTS As HResult = &H80030050
        Public Shared ReadOnly STG_E_INVALIDPARAMETER As HResult = &H80030057
        Public Shared ReadOnly RPC_NT_INVALID_ES_ACTION As HResult = &HC0030059
        Public Shared ReadOnly RPC_NT_WRONG_ES_VERSION As HResult = &HC003005A
        Public Shared ReadOnly RPC_NT_WRONG_STUB_VERSION As HResult = &HC003005B
        Public Shared ReadOnly RPC_NT_INVALID_PIPE_OBJECT As HResult = &HC003005C
        Public Shared ReadOnly RPC_NT_INVALID_PIPE_OPERATION As HResult = &HC003005D
        Public Shared ReadOnly RPC_NT_WRONG_PIPE_VERSION As HResult = &HC003005E
        Public Shared ReadOnly RPC_NT_PIPE_CLOSED As HResult = &HC003005F
        Public Shared ReadOnly RPC_NT_PIPE_DISCIPLINE_ERROR As HResult = &HC0030060
        Public Shared ReadOnly RPC_NT_PIPE_EMPTY As HResult = &HC0030061
        Public Shared ReadOnly STG_E_MEDIUMFULL As HResult = &H80030070
        Public Shared ReadOnly STG_E_PROPSETMISMATCHED As HResult = &H800300F0
        Public Shared ReadOnly STG_E_ABNORMALAPIEXIT As HResult = &H800300FA
        Public Shared ReadOnly STG_E_INVALIDHEADER As HResult = &H800300FB
        Public Shared ReadOnly STG_E_INVALIDNAME As HResult = &H800300FC
        Public Shared ReadOnly STG_E_UNKNOWN As HResult = &H800300FD
        Public Shared ReadOnly STG_E_UNIMPLEMENTEDFUNCTION As HResult = &H800300FE
        Public Shared ReadOnly STG_E_INVALIDFLAG As HResult = &H800300FF
        Public Shared ReadOnly STG_E_INUSE As HResult = &H80030100
        Public Shared ReadOnly STG_E_NOTCURRENT As HResult = &H80030101
        Public Shared ReadOnly STG_E_REVERTED As HResult = &H80030102
        Public Shared ReadOnly STG_E_CANTSAVE As HResult = &H80030103
        Public Shared ReadOnly STG_E_OLDFORMAT As HResult = &H80030104
        Public Shared ReadOnly STG_E_OLDDLL As HResult = &H80030105
        Public Shared ReadOnly STG_E_SHAREREQUIRED As HResult = &H80030106
        Public Shared ReadOnly STG_E_NOTFILEBASEDSTORAGE As HResult = &H80030107
        Public Shared ReadOnly STG_E_EXTANTMARSHALLINGS As HResult = &H80030108
        Public Shared ReadOnly STG_E_DOCFILECORRUPT As HResult = &H80030109
        Public Shared ReadOnly STG_E_BADBASEADDRESS As HResult = &H80030110
        Public Shared ReadOnly STG_E_DOCFILETOOLARGE As HResult = &H80030111
        Public Shared ReadOnly STG_E_NOTSIMPLEFORMAT As HResult = &H80030112
        Public Shared ReadOnly STG_S_CONVERTED As HResult = &H30200
        Public Shared ReadOnly STG_E_INCOMPLETE As HResult = &H80030201
        Public Shared ReadOnly STG_S_BLOCK As HResult = &H30201
        Public Shared ReadOnly STG_E_TERMINATED As HResult = &H80030202
        Public Shared ReadOnly STG_S_RETRYNOW As HResult = &H30202
        Public Shared ReadOnly STG_S_MONITORING As HResult = &H30203
        Public Shared ReadOnly STG_S_MULTIPLEOPENS As HResult = &H30204
        Public Shared ReadOnly STG_S_CONSOLIDATIONFAILED As HResult = &H30205
        Public Shared ReadOnly STG_S_CANNOTCONSOLIDATE As HResult = &H30206
        Public Shared ReadOnly STG_E_STATUS_COPY_PROTECTION_FAILURE As HResult = &H80030305
        Public Shared ReadOnly STG_E_CSS_AUTHENTICATION_FAILURE As HResult = &H80030306
        Public Shared ReadOnly STG_E_CSS_KEY_NOT_PRESENT As HResult = &H80030307
        Public Shared ReadOnly STG_E_CSS_KEY_NOT_ESTABLISHED As HResult = &H80030308
        Public Shared ReadOnly STG_E_CSS_SCRAMBLED_SECTOR As HResult = &H80030309
        Public Shared ReadOnly STG_E_CSS_REGION_MISMATCH As HResult = &H8003030A
        Public Shared ReadOnly STG_E_RESETS_EXHAUSTED As HResult = &H8003030B
        Public Shared ReadOnly evtMethodCalled As HResult = &H32000
        Public Shared ReadOnly evtMethodReturning As HResult = &H32001
        Public Shared ReadOnly evtIsAborting As HResult = &HC0032002
        Public Shared ReadOnly evtExpansionInitialized As HResult = &H32003
        Public Shared ReadOnly evtExpansionUnInitialized As HResult = &H32004
        Public Shared ReadOnly evtExpansionInitializeFailed As HResult = &HC0032005
        Public Shared ReadOnly evtExpansionRegisterFailed As HResult = &HC0032006
        Public Shared ReadOnly evtExpansionMessageSaveChangesFailed As HResult = &HC0032007
        Public Shared ReadOnly evtExpansionMessageDeleteFailed As HResult = &HC0032008
        Public Shared ReadOnly evtExpansionFolderSaveChangesFailed As HResult = &HC0032009
        Public Shared ReadOnly evtExpansionTooManyInstancesPerDay As HResult = &H8003200A
        Public Shared ReadOnly evtMailboxCreateTotalFailure As HResult = &HC003200B
        Public Shared ReadOnly evtMailboxCreatePartialFailure As HResult = &HC003200C
        Public Shared ReadOnly evtUninitImplRestFailed As HResult = &HC003200D
        Public Shared ReadOnly evtExpandSavingAppt As HResult = &HC003200E
        Public Shared ReadOnly evtExpandDeletingAppt As HResult = &HC003200F
        Public Shared ReadOnly evtExpandQuery As HResult = &HC0032010
        Public Shared ReadOnly evtExpandFolderSetProps As HResult = &HC0032011
        Public Shared ReadOnly evtRegistryFailure As HResult = &HC0032012
        Public Shared ReadOnly evtExpStat As HResult = &HC0032013
        Public Shared ReadOnly evtDumpFcn As HResult = &HC0032014
        Public Shared ReadOnly evtSaveDeleteFailFBUpdate As HResult = &HC0032015
        Public Shared ReadOnly evtProcessingQueryCallback As HResult = &HC0032016
        Public Shared ReadOnly evtMailboxLocalizeTotalFailure As HResult = &HC0032017
        Public Shared ReadOnly evtMailboxLocalizePartialFailure As HResult = &HC0032018
        Public Shared ReadOnly evtExpandMaster As HResult = &HC0032019
        Public Shared ReadOnly evtExpansionInit As HResult = &HC003201A
        Public Shared ReadOnly evtFBGenerateMsg As HResult = &HC003201B
        Public Shared ReadOnly evtExpansionInstExpiryInPublicMDB As HResult = &H8003201C
        Public Shared ReadOnly evtUnhandledExceptionInitialization As HResult = &HC003201D
        Public Shared ReadOnly evtUnhandledExceptionShutdown As HResult = &HC003201E
        Public Shared ReadOnly evtUnhandledExceptionInitializationMDB As HResult = &HC003201F
        Public Shared ReadOnly evtUnhandledExceptionShutdownMDB As HResult = &HC0032020
        Public Shared ReadOnly evtUnhandledExceptionMsgSaveChanges As HResult = &HC0032021
        Public Shared ReadOnly evtUnhandledExceptionDelete As HResult = &HC0032022
        Public Shared ReadOnly evtUnhandledExceptionQuery As HResult = &HC0032023
        Public Shared ReadOnly evtUnhandledExceptionFolderSaveChanges As HResult = &HC0032024
        Public Shared ReadOnly evtCorruptedCalendar As HResult = &HC0032025
        Public Shared ReadOnly evtRebuildCalendar As HResult = &H80032026
        Public Shared ReadOnly evtCheckPrimaryCalendar As HResult = &H80032027
        Public Shared ReadOnly evtExpandMasterPF As HResult = &HC0032028
        Public Shared ReadOnly evtCorruptedPFCalendar As HResult = &HC0032029
        Public Shared ReadOnly evtRebuildPFCalendar As HResult = &H8003202A
        Public Shared ReadOnly evtMovingMailboxCallbackFailed As HResult = &H8003202B
        Public Shared ReadOnly evtGetMsgClassFromMaster As HResult = &H8003202C
        Public Shared ReadOnly evtOpenURL As HResult = &H8003202D
        Public Shared ReadOnly evtStatusMsgSent As HResult = &H4003202E
        Public Shared ReadOnly evtSaveInvalidStartAppt As HResult = &HC003202F
        Public Shared ReadOnly evtSaveInvalidEndAppt As HResult = &H80032030
        Public Shared ReadOnly evtModifyInvalidAppt As HResult = &H80032031
        Public Shared ReadOnly evtDeleteInvalidAppt As HResult = &H80032032
        Public Shared ReadOnly evtBindToInvalidStartAppt As HResult = &HC0032033
        Public Shared ReadOnly evtBindToInvalidEndAppt As HResult = &H80032034
        Public Shared ReadOnly evtReloadLogType As HResult = &H40032035
        Public Shared ReadOnly evtBackgroundStarted As HResult = &H40032036
        Public Shared ReadOnly evtBackgroundStartFailed As HResult = &H80032037
        Public Shared ReadOnly evtBackgroundProcessing As HResult = &H40032038
        Public Shared ReadOnly evtBackgroundProcessingNoCals As HResult = &H40032039
        Public Shared ReadOnly evtBackgroundProcessingFinished As HResult = &H4003203A
        Public Shared ReadOnly evtBackgroundAwakeDueToShutdown As HResult = &H4003203B
        Public Shared ReadOnly evtBackgroundAwake As HResult = &H4003203C
        Public Shared ReadOnly evtBackgroundTerminating As HResult = &H4003203D
        Public Shared ReadOnly evtBackgroundRegisterTaskFailed As HResult = &HC003203E
        Public Shared ReadOnly evtBackgroundLogonFailed As HResult = &HC003203F
        Public Shared ReadOnly evtBackgroundGetMachineToken As HResult = &HC0032040
        Public Shared ReadOnly evtBackgroundSleepUntilNewCal As HResult = &H40032041
        Public Shared ReadOnly evtBackgroundQueued As HResult = &H40032042
        Public Shared ReadOnly evtBkExpDumpFcn As HResult = &HC0032043
        Public Shared ReadOnly evtSaveDurationTooLong As HResult = &H80032044
        Public Shared ReadOnly evtModifyDurationTooLong As HResult = &H80032045
        Public Shared ReadOnly evtDeleteDurationTooLong As HResult = &H80032046
        Public Shared ReadOnly evtTooManyIterationsForQuery As HResult = &H80032047
        Public Shared ReadOnly evtTooManyIterationsForFreebusy As HResult = &H80032048
    End Class

End Namespace